﻿<%@ Assembly Name="$SharePoint.Project.AssemblyFullName$" %>
<%@ Register TagPrefix="SharePointWebControls" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register TagPrefix="Utilities" Namespace="Microsoft.SharePoint.Utilities" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register TagPrefix="WebPartPages" Namespace="Microsoft.SharePoint.WebPartPages" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register TagPrefix="PublishingWebControls" Namespace="Microsoft.SharePoint.Publishing.WebControls" Assembly="Microsoft.SharePoint.Publishing, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register TagPrefix="PublishingNavigation" Namespace="Microsoft.SharePoint.Publishing.Navigation" Assembly="Microsoft.SharePoint.Publishing, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register TagPrefix="asp" Namespace="System.Web.UI" Assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" %>
<%@ Assembly Name="Kaskelot.SP.Model, Version=1.0.0.0, Culture=neutral, PublicKeyToken=e36f3a7c6f0a0285" %>
<%@ Import Namespace="Kaskelot.SP.Model.Client" %>

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="DetailsPage.aspx.cs" Inherits="Kaskelot.SP.UI.DetailsPage, $SharePoint.Project.AssemblyFullName$" %>

<%--<asp:Content ID="PageHead" ContentPlaceHolderID="PlaceHolderAdditionalPageHead" runat="server">

</asp:Content>--%>
<asp:content id="Main" contentplaceholderid="PlaceHolderMain" runat="server">
	<div class="tabbar" id="tab-container" style="display: none;">
		<ul class="tabs">
			<asp:Repeater ID="repTabs" runat="server">
				<ItemTemplate>
					<li><a href="#tab-<%# ((Tab)Container.DataItem).TabIndex %>"><%# ((Tab)Container.DataItem).Title %></a></li>
				</ItemTemplate>
			</asp:Repeater>
		</ul>
		<div id="tab-1" style="display:none;" class="blockable-container">
			<WebPartPages:WebPartZone ID="TabZone_1" runat="server" title="Zon flik 1">
				<ZoneTemplate> 
				</ZoneTemplate> 
			</WebPartPages:WebPartZone>
		</div>
		<div id="tab-2" style="display:none;" class="blockable-container">
			<WebPartPages:WebPartZone ID="TabZone_2" runat="server" title="Zon flik 2"> 
				<ZoneTemplate> 
				</ZoneTemplate> 
			</WebPartPages:WebPartZone>
		</div>
		<div id="tab-3" style="display:none;" class="blockable-container">
			<WebPartPages:WebPartZone ID="TabZone_3" runat="server" title="Zon flik 3"> 
				<ZoneTemplate> 
				</ZoneTemplate> 
			</WebPartPages:WebPartZone>
		</div>
		<div id="tab-4" style="display:none;" class="blockable-container">
			<WebPartPages:WebPartZone ID="TabZone_4" runat="server" title="Zon flik 4"> 
				<ZoneTemplate> 
				</ZoneTemplate> 
			</WebPartPages:WebPartZone>
		</div>

		<div id="tab-5" style="display:none;" class="blockable-container">
			<WebPartPages:WebPartZone ID="TabZone_5" runat="server" title="Zon flik 5"> 
				<ZoneTemplate> 
				</ZoneTemplate> 
			</WebPartPages:WebPartZone>
		</div>

		<div id="tab-6" style="display:none;" class="blockable-container">
			<WebPartPages:WebPartZone ID="TabZone_6" runat="server" title="Zon flik 6"> 
				<ZoneTemplate> 
				</ZoneTemplate> 
			</WebPartPages:WebPartZone>
		</div>

		<div id="tab-7" style="display:none;" class="blockable-container">
			<WebPartPages:WebPartZone ID="TabZone_7" runat="server" title="Zon flik 7"> 
				<ZoneTemplate> 
				</ZoneTemplate> 
			</WebPartPages:WebPartZone>
		</div>

		<div id="tab-8" style="display:none;" class="blockable-container">
			<WebPartPages:WebPartZone ID="TabZone_8" runat="server" title="Zon flik 8"> 
				<ZoneTemplate> 
				</ZoneTemplate> 
			</WebPartPages:WebPartZone>
		</div>

		<div id="tab-9" style="display:none;" class="blockable-container">
			<WebPartPages:WebPartZone ID="TabZone_9" runat="server" title="Zon flik 9"> 
				<ZoneTemplate> 
				</ZoneTemplate> 
			</WebPartPages:WebPartZone>
		</div>
	</div>

	<script type="text/javascript">
		$(function () {
			$(".tabbar").tabs({
				activate: function (event, ui) {
					//window.location.hash = ui.newPanel.attr("id");
					if (history && history.pushState) {
						history.pushState(null, document.title, "#" + ui.newPanel.attr("id"));
					}
					kaskelot.sp.ui.toolbox.reloadItems("#" + ui.newPanel.attr("id"));
					return false;
				}
			}).show();
		});
	</script>
</asp:content>


<asp:content id="PageTitle" contentplaceholderid="PlaceHolderPageTitle" runat="server">
	<SharePointWebControls:ProjectProperty ID="ProjectProperty1" Property="Title" runat="server" />
</asp:content>

<asp:content id="PageTitleInTitleArea" contentplaceholderid="PlaceHolderPageTitleInTitleArea" runat="server">
	<SharePointWebControls:ProjectProperty Property="Title" runat="server" />
</asp:content>
